<img src='partials/TestDataXY_Simple.PNG' style='width:400px;float:right'>
<div>
<pre>
<span class='code_snippet' style='font-size: 11px'>

ArrayList&lt;DataPoint&gt; values = new ArrayList&lt;DataPoint&gt;();
values.add(new DataPoint(5, 96));
values.add(new DataPoint(58, 43));
values.add(new DataPoint(101, 90));
values.add(new DataPoint(135, 67));
values.add(new DataPoint(150, 70));

XYChart chart = new XYChart("My Easy Example", "X Axis",
"Y Axis", values, false);

</span></pre></div>